home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 3
/
Amiga Tools 3.iso
/
grafik
/
raytracing
/
rayshade-4.0.6.3
/
rayfiles
/
rsdefs
/
surfaces
/
stdsurf.rh
Wrap
Text File
|
1994-08-09
|
9KB
|
500 lines
/************************************************************************
*
* stdsurf.rh
*
* This an #include file for the Rayshade Standard Header
* Files. It defines the surfaces in the package.
*
* Please do not edit this file, or any of the other files in
* this package! Make additions to these in your own separate
* file. If you think you have something that should be added
* permanently, please send it to Larry Coffin and/or David
* DeBry (email addresses listed below). If we include it in
* the next release, we'll put your name in the contributor's
* list.
*
* Contributors (in alphabetical order):
* Everett (Skip) Carter
* Larry Coffin <lcoffin@clciris.chem.umr.edu>
* David DeBry <ddebry@dsd.es.com>
* Iain Sinclair
* keihh!kt@abqhh.hanse.de
* Stuart Warmink <sw@groucho.att.com>
*
*/
#ifndef RSHF_SURFS
#define RSHF_SURFS
#define RSSair(prefix) \
prefix \
index 1 \
transp .9999
#define RSSambulance(prefix) \
prefix \
ambient .45 .05 .05 \
diffuse .9 .1 .1 \
specular .45 .05 .05 \
specpow 20
#define RSSaqua_polished(prefix) \
prefix \
ambient .0 .275 .24 \
diffuse .01 .55 .48 \
specular .5 .5 .5 \
specpow 30 \
reflect .3
#define RSSaqua_dull(prefix) \
prefix \
ambient .0 .275 .24 \
diffuse .01 .55 .48
#define RSSbeerbottle(prefix) \
prefix \
ambient .05 .04 .026 \
diffuse .1 .08 .053 \
specular .3 .24 .159 \
specpow 15 \
body .7 .567 .375 \
reflect .4 \
transp .6 \
index 1.6 \
extinct .7
#define RSSbristle_white(prefix) \
prefix \
ambient 0.5 0.5 0.5 \
diffuse 0.6 0.6 0.6
#define RSSbrown(prefix) \
prefix \
ambient 0.225 .125 .04 \
diffuse 0.45 .25 .08 \
specular .6 .6 .6 \
specpow 25
#define RSSbrownglass(prefix) \
prefix \
ambient .01 .005 0 \
diffuse .02 .01 0 \
specular 1 1 1 \
specpow 30 \
body 0.7 .5 .27 \
reflect .3 \
transp .98 \
index 1.65 \
extinct .9
#define RSSchrome_silver(prefix) \
prefix \
ambient .15 .15 .15 \
diffuse 0.3 0.3 0.3 \
specular .8 .8 .8 \
specpow 30 \
reflect 0.98 \
#define RSScopper_dull(prefix) \
prefix \
ambient .24 .11 .05 \
diffuse .48 .22 .1 \
specular .2 .2 .2 \
specpow 30 \
reflect .98
#define RSScopper_polished(prefix) \
prefix \
ambient .24 .11 .05 \
diffuse .48 .22 .1 \
specular .8 .8 .8 \
specpow 30 \
reflect 0.98
#define RSScrystal(prefix) \
prefix \
ambient .00 .00 .00 \
diffuse .01 .01 .02 \
body .97 .98 1 \
reflect 0.03 \
transp 0.96 \
index 1.544 \
extinct .99
#define RSSdiamond(prefix) \
prefix \
ambient .01 .01 .01 \
diffuse .02 .02 .02 \
specular 1 1 1 \
specpow 70 \
index RSCdiamond \
transp .98 \
reflect .2
#define RSSdiamond_blue(prefix) \
prefix \
ambient .00 .00 .01 \
diffuse .00 .00 .02 \
specular 1 1 1 \
specpow 70 \
body .84 .89 1 \
index RSCdiamond \
transp .98 \
reflect .2
#define RSSdiamond_brown(prefix) \
prefix \
ambient .01 .01 .00 \
diffuse .02 .02 .00 \
specular 1 1 1 \
specpow 70 \
body 1 .90 .80 \
index RSCdiamond \
transp .98 \
reflect .2
#define RSSdiamond_white(prefix) \
prefix \
ambient .01 .01 .01 \
diffuse .02 .02 .02 \
specular 1 1 1 \
specpow 70 \
index RSCdiamond \
transp .98 \
reflect .2
#define RSSdiamond_yellow(prefix) \
prefix \
ambient .01 .01 .00 \
diffuse .02 .02 .00 \
specular 1 1 1 \
specpow 70 \
body 1 .90 .50 \
index RSCdiamond \
transp .98 \
reflect .2
#define RSSemerald(prefix) \
prefix \
ambient 0 .02 .01 \
diffuse 0 .04 .02 \
specular 1 1 1 \
specpow 30 \
body .25 .75 .5 \
transp .98 \
reflect .3 \
index RSCberyl
#define RSSemeralddark(prefix) \
prefix \
ambient 0 .02 .01 \
diffuse 0 .04 .02 \
specular 1 1 1 \
specpow 30 \
body 0 .5 .35 \
transp .98 \
reflect .3 \
index RSCberyl
#define RSSemeraldpale(prefix) \
prefix \
ambient 0 .02 .01 \
diffuse 0 .04 .02 \
specular 1 1 1 \
specpow 30 \
body .5 1 .75 \
transp .98 \
reflect .3 \
index RSCberyl
#define RSSfiretruck(prefix) \
prefix \
ambient .35 .0 .0 \
diffuse .7 .0 .0 \
specular .4 .4 .4 \
specpow 20 \
reflect .4
#define RSSglass_azure(prefix) \
prefix \
ambient .01 .02 .03 \
diffuse .01 .03 .05 \
specular .62 .69 .72 \
body .1 .3 .5 \
reflect .4 \
transp .5 \
index 1.65 \
extinct .9
#define RSSglass_blue(prefix) \
prefix \
ambient .00 .00 .01 \
diffuse .00 .00 .02 \
specular 1 1 1 \
specpow 30 \
body 0 0 1 \
reflect .3 \
transp .98 \
index 1.65 \
extinct .9
#define RSSglass_green(prefix) \
prefix \
ambient .00 .01 .00 \
diffuse .00 .02 .00 \
specular 1 1 1 \
specpow 30 \
body 0 .8 0 \
reflect .3 \
transp .98 \
index 1.65 \
extinct .9
#define RSSglass_rihi(prefix) \
prefix \
ambient .01 .01 .01 \
diffuse .02 .02 .02 \
specular 1 1 1 \
specpow 30 \
transp .98 \
reflect .3 \
index RSCglasshi
#define RSSglass_rilow(prefix) \
prefix \
ambient .01 .01 .01 \
diffuse .02 .02 .02 \
specular 1 1 1 \
specpow 30 \
transp .98 \
reflect .3 \
index RSCglasslo
#define RSSglass_rimed(prefix) \
prefix \
ambient .01 .01 .01 \
diffuse .02 .02 .02 \
specular 1 1 1 \
specpow 30 \
transp .98 \
reflect .3 \
index 1.704
#define RSSglass_new(prefix) \
prefix \
diffuse .02 .02 .02 \
specular .2 .2 .2 \
specpow 30 \
transp .98 \
reflect .3 \
index 1.704
#define RSSgold(prefix) \
prefix \
ambient .21 .14 .02 \
diffuse .42 .28 .04 \
specular .9 .9 .9 \
specpow 30 \
reflect 0.98
#define RSSgold_pale(prefix) \
prefix \
ambient .2 .17 .075 \
diffuse .4 .34 .15 \
specular .8 .8 .8 \
specpow 30 \
reflect 0.98
#define RSSgreengrass(prefix) \
prefix \
ambient 0.15 0.225 0.05 \
diffuse 0.3 0.45 0.1 \
specular 0.6 0.6 0.6 \
specpow 20
#define RSSice(prefix) \
prefix \
ambient .02 .02 .02 \
diffuse .04 .04 .04 \
specular 1 1 1 \
specpow 30 \
body .98 .99 1 \
transp .98 \
reflect .3 \
index RSCice
#define RSSnavyglass(prefix) \
prefix \
ambient 0 0.05 0.1 \
diffuse .04 .06 .10 \
specular .62 .72 .82 \
reflect .2 \
transp .6 \
index RSCglasslo
#define RSSorangeflat(prefix) \
prefix \
diffuse .80 .35 .0 \
ambient .45 .29 .15
#define RSSoliveglossy(prefix) \
prefix \
diffuse .294 .31 .173 \
ambient .14 .16 .12 \
specular .7 .7 .7 \
specpow 10
#define RSSpinkflat(prefix) \
prefix \
diffuse .7 .4 .4 \
ambient .5 .3 .3
#define RSSplastic(prefix) \
prefix \
ambient 0.5 0 0 \
diffuse 0.4 0 0 \
reflect 0.2 \
specular 1 1 1 \
specpow 60
#define RSSplastic_red(prefix) \
prefix \
reflect 0.2 \
specular 1 1 1 \
specpow 60 \
transp 0.8 \
body 1 0 0 \
translu 1.0 1 0 0 50 /* whatever *this* means... */\
index 1.5 /* just a guess... */
#define RSSplastic_yellow(prefix) \
prefix \
reflect 0.2 \
specular 1 1 1 \
specpow 60 \
transp 0.8 \
body 1 0.8 0 \
translu 1.0 1 0.8 0 50 \
index 1.5
#define RSSporcelain_pink(prefix) \
prefix \
ambient .45 .3 .3 \
diffuse .45 .3 .3 \
specular .5 .5 .5 \
specpow 40 \
reflect .10 \
#define RSSredbrick(prefix) \
prefix \
ambient .25 .02 0 \
diffuse .50 .04 0
#define RSSredflat(prefix) \
prefix \
ambient .30 0 0 \
diffuse .50 0 0
#define RSSredglossy(prefix) \
prefix \
diffuse .7 0 0 \
ambient .35 0 0 \
specular .5 .5 .5 \
specpow 12 \
reflect .15
#define RSSredneon(prefix) \
prefix \
ambient .7 .0 .0 \
diffuse .4 .0 .0
#define RSSruby(prefix) \
prefix \
ambient .01 0 0 \
diffuse .02 0 0 \
specular 1 1 1 \
specpow 60 \
body .9 .05 0 \
reflect .2 \
transp .98 \
index 1.765
#define RSSruby_spinel(prefix) \
prefix \
ambient .01 0 0 \
diffuse .02 0 0 \
specular 1 1 1 \
specpow 60 \
body .9 .05 0 \
reflect .2 \
transp .98 \
index 1.723
#define RSSsapphire(prefix) \
prefix \
ambient 0 0 .01 \
diffuse 0 0 .02 \
specular 1 1 1 \
specpow 60 \
body .15 .3 .9 \
reflect .2 \
transp .98 \
index 1.765
#define RSSsilver(prefix) \
prefix \
ambient 0.185 0.1825 0.175 \
diffuse 0.5 0.45 0.35 \
specular 0.8 0.8 0.8 \
specpow 10 \
reflect 0.5
#define RSSsteelpolished(prefix) \
prefix \
diffuse .11 .13 .15 \
specular .8 .8 .8 \
reflect .7 \
specpow 17
#define RSSsoap_light(prefix) \
prefix \
ambient 0.23 0.46 0.23 \
diffuse 0.20 0.40 0.20 \
#define RSStest_black(prefix) \
prefix \
ambient 0.0 0.0 0.0
#define RSStest_blue(prefix) \
prefix \
ambient 0 0 .5 \
diffuse 0 0 .9
#define RSStest_burgundy(prefix) \
prefix \
ambient .25 0.0 .05 \
diffuse 0.4 0.0 0.1
#define RSStest_green(prefix) \
prefix \
ambient 0 .5 0 \
diffuse 0 .9 0
#define RSStest_red(prefix) \
prefix \
ambient .5 0 0 \
diffuse .9 0 0
#define RSStest_white(prefix) \
prefix \
ambient .5 .5 .5 \
diffuse .9 .9 .9
#define RSSturquoiseflat(prefix) \
prefix \
diffuse 0 .24 .27 \
ambient .18 .33 .34
#endif /* ifndef RSHF_SURFS */